package com.cainaer.rider.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 骑手登录表
 * </p>
 *
 * @author Tina
 * @since 2020-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Rider implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 会员自增ID
     */
    @TableId(value = "member_id", type = IdType.AUTO)
    private Integer memberId;

    /**
     * 手机号码
     */
    private Long tel;

    /**
     * 会员头像
     */
    private String memberImg;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 微信TOKEN
     */
    private String wxToken;

    /**
     * 用户融云token
     */
    private String imToken;

    private String openId;

    /**
     * 账号状态
     */
    private String status;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
